package cn.stylefeng.guns.modular.system.orgdata.mapper;

import cn.stylefeng.guns.modular.system.orgdata.entity.OrgData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * 组织机构信息 Mapper 接口
 *
 * @author fengshuonan
 * @date 2023/06/10 21:23
 */
public interface OrgDataMapper extends BaseMapper<OrgData> {

    /**
     * 删除数据机构
     *
     * @author caoxf
     * @since 2023/11/23 20:30
     */
    Long removeBatchByIds(Map<String, Object> queryWrapper);

    /**
     * 获取组织下的所有id
     *
     * @param orgid
     */
    List<String> selectOrgid(String orgid);
}

